<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page contentType="text/html;charset=utf-8"%>
<%@ include file="header_admin.jsp"%>
<!-- 以上为页头 设置head 引用样式相关信息 请勿修改  请直接修改header.jsp文件  by 小灯笼 -->
<!-- 以下为JS引用 -->
<script type="text/javascript" src="/mycms/js/alertify.min.js">
	
</script>


<script type="text/javascript">
	//Tooltip
	$('a').tooltip('hide');

	//Popover
	$('.popover-pop').popover('hide');

	//Collapse
	$('#myCollapsible').collapse({
		toggle : false
	})

	//Tabs
	$('.myTabBeauty a').click(function(e) {
		e.preventDefault();
		$(this).tab('show');
	})

	//Dropdown
	$('.dropdown-toggle').dropdown();

	//Alertify JS
	$ = function(id) {
		return document.getElementById(id);
	}, reset = function() {
		$("toggleCSS").href = "/mycms/css/alertify.core.css";
		alertify.set({
			labels : {
				ok : "OK",
				cancel : "Cancel"
			},
			delay : 5000,
			buttonReverse : false,
			buttonFocus : "ok"
		});
	};
</script>
<script type="text/javascript">
	//ScrollUp
	$(document).ready(function() {
		$.scrollUp({
			scrollName : 'scrollUp', // Element ID
			topDistance : '300', // Distance from top before showing element (px)
			topSpeed : 300, // Speed back to top (ms)
			animation : 'fade', // Fade, slide, none
			animationInSpeed : 400, // Animation in speed (ms)
			animationOutSpeed : 400, // Animation out speed (ms)
			scrollText : 'Scroll to top', // Text for element
			activeOverlay : false, // Set CSS color to display scrollUp active point, e.g '#00FFFF'
		});
	});
</script>
<!-- 以上为JS引用 -->
<!-- 以下为正文 -->
<c:if test="${room_flag ==0}">
<script type='text/javascript'>alertify.error("${room_num }会议室已存在，请返回修改");</script>
</c:if>
<div class="container">
	<div class="row-fluid">
		<div class="span12">
			<div class="widget">
				<div class="widget-header">标题</div>
				<div class="widget-body">
					<form class="form-horizontal no-margin" action="/mycms/admin/room/submit"
						method="post">
						<div class="control-group">
							<label class="control-label" for="b_id"> 房间号 </label>
							<div class="controls controls-row">
								<input class="span3" type="number" id="b_id" name="b_id"
									required>
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="b_size"> 容纳人数 </label>
							<div class="controls controls-row">
								<input class="span3" type="number" id="b_size" name="b_size"
									required>
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="media"> 多媒体 </label>
							<div class="controls controls-row">
								<select name="media" class="form-control span3">
									<option value="1">有</option>
									<option value="0">无</option>
								</select>
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="b_address"> 地址 </label>
							<div class="controls">
								<textarea rows="3" id="b_address" name="b_address"
									class="input-block-level" required></textarea>
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="remarks"> 备注 </label>
							<div class="controls">
								<textarea rows="3" id="remarks" name="remarks"
									class="input-block-level" required></textarea>
							</div>
						</div>
						<div class="form-actions no-margin">
							<button type="submit" class="btn btn-info pull-right">
								发布</button>
							<div class="clearfix"></div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<!-- 以上为正文 -->
<!-- 以下为页脚 及JS相关 请勿修改 请直接修改footer.jsp文件   by 小灯笼 -->
<jsp:include page="footer.jsp" />